package com.zys.exercise;

public class student {
    String nane;
    int age;

    public student() {
    }

    public student(String nane, int age) {
        this.nane = nane;
        this.age = age;
    }

    /**
     * 获取
     * @return nane
     */
    public String getNane() {
        return nane;
    }

    /**
     * 设置
     * @param nane
     */
    public void setNane(String nane) {
        this.nane = nane;
    }

    /**
     * 获取
     * @return age
     */
    public int getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(int age) {
        this.age = age;
    }

    public String toString() {
        return "student{nane = " + nane + ", age = " + age + "}";
    }
}
